<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<form method="post" action="" enctype="multipart/form-data" name="restForm" id="restForm">
	<table cellpadding="0" cellspacing="0" width="100%" id="add_content"><tbody>
            {% for field in form %}
            <tr>                
                <td width="10%" class="left">{{ field.label_tag }}:</td>
                <td class="right">{{ field }} <font color="red">{{ field.errors }}</font></td>                        
            </tr>
            {% endfor %}
            <input type="hidden" name="id" value="{{id}}"/>
            <tr>
            	<td class="left"><input type="submit" name="button" value="提交内容" /></td>
            	<td>&nbsp</td>
            </tr>
         </tbody>
     </table>
     {% csrf_token %}
</form>   
</body>
</html>